package com.ruoyi.service;

import com.alibaba.fastjson.JSONObject;
import org.apache.commons.math3.analysis.function.Add;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

/*
 * 人员及照片接口
 */
public interface PeopleAndPhotoInterfaceService {
    /* 添加人员v2 */
    Object savePersonnel(JSONObject jsonObject) throws Exception;

    /* 修改人员 */
    Object updatePersonnel(JSONObject jsonObject) throws Exception;

    /* 获取组织下人员列表v2 */
    Object listOrganizationalStaff(JSONObject jsonObject) throws Exception;

    /* 获取人员列表v2 */
    Object listStaff(JSONObject jsonObject) throws Exception;

    /* 查询人员列表v2 */
    Object selectStaffList(JSONObject jsonObject) throws Exception;

    /* 批量删除人员 */
    Object removeStaff(JSONObject jsonObject) throws Exception;

    /* 修改人脸 */
    Object updateFace(JSONObject jsonObject) throws Exception;

    /* 添加人脸 */
    Object saveFace(JSONObject jsonObject) throws Exception;

    /* 删除人脸 根据人脸Id删除人脸 */
    Object removeFaceById(JSONObject jsonObject) throws Exception;

    /* 批量添加人员 */
    Object saveListPersonnel(List<Add> addList) throws Exception;

    /* 提取人员图片 */
    Object downloadPersonnelImage(JSONObject jsonObject) throws Exception;

    /* 根据人员唯一字段获取人员详细信息 */
    Object getPersonnelById(JSONObject jsonObject) throws Exception;
}
